# googletest
option(ENABLE_FEATURE "Enable googletest for unittest" FALSE)

if(ENABLE_TEST)
	message(STATUS "ENABLE TEST")
	enable_testing()


	# file(GLOB_RECURSE test CONFIGURE_DEPENDS *.cpp)
	# set(test "PlTransTest.cpp")
	set(test "PlTransTest.cpp")
	add_executable(lcirtest ${test})
	target_link_libraries(lcirtest GTest::gtest_main lcir)
	add_test(Name lcir_gtest COMMAND lcirtest)

	# include(GoogleTest)
	# gtest_discover_tests(lcirtest)
endif()